import { eventHub } from "/common/utils/eventHub";

function eventBusTest() {
  eventHub.on("open", (data) => {
    console.log(data);
  });
  setTimeout(() => {
    console.log("1s");
    eventHub.emit("open", "花擦");
  }, 1000);
}

export { eventBusTest };
